From 391ea68671d594ed4a1ee5f1f885e17d9eadc6dd Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 30 Dec 2016 01:08:07 +0800 Subject: [PATCH] Visual Studio builds: Include Vulkan sources in GSK ...but disable them for now. Configs will be added for the projects to support Vulkan-enabled builds which will then enable the builds of these sources. Extra commands and items will be needed for the GSK resources along with ensuring GSK_RENDERER_GSK being defined for the build of GDK, GDK-Win32 and GSK so that the builds of Vulkan-enabled builds can be done properly. Filter out the Vulkan sources from the 'dist hook' rules in gsk/Makefile.am as we don't want to in turn include them twice in the projects when the 'make dist' is performed on a system with Vulkan builds enabled. --- build/win32/vs12/gsk-4.vcxproj.filtersin | 14 ++++++ build/win32/vs12/gsk-4.vcxprojin | 56 ++++++++++++++++++++++++ gsk/Makefile.am | 2 +- 3 files changed, 71 insertions(+), 1 deletion(-) diff --git a/build/win32/vs12/gsk-4.vcxproj.filtersin b/build/win32/vs12/gsk-4.vcxproj.filtersin index 6b1f1c3e0b..2cd5a45959 100755 --- a/build/win32/vs12/gsk-4.vcxproj.filtersin +++ b/build/win32/vs12/gsk-4.vcxproj.filtersin @@ -20,5 +20,19 @@ #include "gsk-4.vs12.sourcefiles.filters" + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files + Source Files diff --git a/build/win32/vs12/gsk-4.vcxprojin b/build/win32/vs12/gsk-4.vcxprojin index 7206216427..0e32c2e1cb 100755 --- a/build/win32/vs12/gsk-4.vcxprojin +++ b/build/win32/vs12/gsk-4.vcxprojin @@ -154,6 +154,62 @@ #include "gsk-4.vs12.sourcefiles" + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + + + true + true + diff --git a/gsk/Makefile.am b/gsk/Makefile.am index 31dc094eba..922c727f6d 100644 --- a/gsk/Makefile.am +++ b/gsk/Makefile.am @@ -211,7 +211,7 @@ endif MSVCPROJS = gsk-4 gsk_4_FILES = $(all_sources) $(gsk_built_source_c) -gsk_4_EXCLUDES = dummy +gsk_4_EXCLUDES = gskvulkan*.c gsk_4_HEADERS_DIR = $(gskincludedir) gsk_4_HEADERS_INST = $(gskinclude_HEADERS) gsk_4_HEADERS_EXCLUDES = dummy -- 2.30.2